import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    // 控制popup显示隐藏
    popupShow:false,
    // iptVal:"asd"
  },
  mutations: {
    // 修改popup的显示隐藏
    controlPopupShow(state,payload){
      state.popupShow = payload;
    }
    // iptValChange(state,payload){
    //   state.iptVal = payload;
    // }
  },
  actions: {
  },
  modules: {
  }
})
